<?php

// uncomment the following to define a path alias
// Yii::setPathOfAlias('local','path/to/local-folder');

// This is the main Web application configuration. Any writable
// CWebApplication properties can be configured here.
return array(
        'basePath'=>dirname(__FILE__).DIRECTORY_SEPARATOR.'..',
        'name'=>'Vista por encima',
        'language'=>'es',

// preloading 'log' component
        'preload'=>array('log'),

// autoloading model and component classes
        'import'=>array(
                'application.models.*',
                'application.components.*',
                'application.helpers.*',
        ),

// application components
        'components'=>array(
                'log'=>array(
                        'class'=>'CLogRouter',
                        'routes'=>array(
                                array(
                                        'class'=>'CFileLogRoute',
                                        'levels'=>'error, warning, trace',
                                ),
                        ),
                ),
                'user'=>array(
                        'class' => 'WebUser',
// enable cookie-based authentication
                        'allowAutoLogin'=>true,
                ),
// uncomment the following to set up database
                'db'=>require(dirname(__FILE__).'/db.php'),
        ),

// application-level parameters that can be accessed
// using Yii::app()->params['paramName']
        'params'=>array(
// this is used in contact page
                'adminEmail'=>'atrandafirc@yahoo.com',
        ),
);